package com.lanhai.zhonglai.report;

import java.util.Calendar;
import java.util.Locale;

public class AgvTransBean {
	private int agvid;
	private String datetime;
	private String msg;
	private String  other;
	private long time;
	
	public AgvTransBean() {
		 Calendar c = Calendar.getInstance(Locale.CHINA);
		 
	       int day = c.get(Calendar.DAY_OF_MONTH);
	       int hour = c.get(Calendar.HOUR_OF_DAY);
	       int min = c.get(Calendar.MINUTE);
	       int second = c.get(Calendar.SECOND);
		 datetime=String.format("%02d %02d:%02d:%02d", day,hour,min,second);
		 time=System.currentTimeMillis();
	}
	
	
	public long getTime() {
		return time;
	}


	public void setTime(long time) {
		this.time = time;
	}


	public int getAgvid() {
		return agvid;
	}
	public void setAgvid(int agvid) {
		this.agvid = agvid;
	}
	public String getDatetime() {
		return datetime;
	}
	public void setDatetime(String datetime) {
		this.datetime = datetime;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}


	public String getOther() {
		return other;
	}


	public void setOther(String other) {
		this.other = other;
	}
	
	
}
